package com.ship.contract.service;


import com.ship.common.business.service.BaseService;
import com.ship.common.core.base.SearchConfig;

import java.util.List;

/**
 * @author tangshixuan
 * @date 2023-8-31
 */
public interface SearchConfigService extends BaseService<SearchConfig> {

    /**
     * 获取用户配置列表筛选条件
     * @param module
     * @param currentUserId
     * @return
     */
    List<SearchConfig> listByModuleAndUser(String module, String currentUserId);

    /**
     * 保存用户筛选配置
     * @param searchConfig
     */
    void saveConfig(SearchConfig searchConfig);
}
